import { option } from "@/api/http"

export function getFinanceTodo(userId){
  return option({
    url:'getFinanceTodo',
    method:'post',
    data:{
      userId
    }
  })
}

export function createFinanceApprove(form){
  return option({
    url:'createFApprove',
    method:'post',
    data:form,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}


export function delFinance(approveId){
  return option({
    url:'delApprove',
    method:'post',
    data: {
      approveId
    }
  })
}
